package com.bean;

import java.util.List;

public class ZuowenBean {


    /**
     * code : 1
     * msg : 成功
     * time : 1593224203
     * data : {"total":38880,"per_page":15,"current_page":1,"last_page":2592,"data":[{"id":2,"tagId":2,"articleId":1,"type":1,"title":"生命中的一次感动","school":""},{"id":12,"tagId":2,"articleId":2,"type":1,"title":"心像草原","school":""},{"id":22,"tagId":2,"articleId":3,"type":1,"title":"新画龙点睛","school":""},{"id":32,"tagId":2,"articleId":4,"type":1,"title":"扬城的月","school":""},{"id":42,"tagId":2,"articleId":5,"type":1,"title":"真理的革命","school":""},{"id":58,"tagId":2,"articleId":6,"type":1,"title":"空白的快乐","school":""},{"id":66,"tagId":2,"articleId":7,"type":1,"title":"春","school":""},{"id":76,"tagId":2,"articleId":8,"type":1,"title":"考试","school":""},{"id":90,"tagId":2,"articleId":9,"type":1,"title":"心语","school":""},{"id":100,"tagId":2,"articleId":10,"type":1,"title":"校园的花坛","school":""},{"id":114,"tagId":2,"articleId":11,"type":1,"title":"理解母亲","school":""},{"id":122,"tagId":2,"articleId":12,"type":1,"title":"发现一个交锋","school":""},{"id":136,"tagId":2,"articleId":13,"type":1,"title":"渴望阳光","school":""},{"id":146,"tagId":2,"articleId":14,"type":1,"title":"思绪","school":""},{"id":162,"tagId":2,"articleId":15,"type":1,"title":"河水的快乐","school":""}]}
     */

    private int code;
    private String msg;
    private String time;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 38880
         * per_page : 15
         * current_page : 1
         * last_page : 2592
         * data : [{"id":2,"tagId":2,"articleId":1,"type":1,"title":"生命中的一次感动","school":""},{"id":12,"tagId":2,"articleId":2,"type":1,"title":"心像草原","school":""},{"id":22,"tagId":2,"articleId":3,"type":1,"title":"新画龙点睛","school":""},{"id":32,"tagId":2,"articleId":4,"type":1,"title":"扬城的月","school":""},{"id":42,"tagId":2,"articleId":5,"type":1,"title":"真理的革命","school":""},{"id":58,"tagId":2,"articleId":6,"type":1,"title":"空白的快乐","school":""},{"id":66,"tagId":2,"articleId":7,"type":1,"title":"春","school":""},{"id":76,"tagId":2,"articleId":8,"type":1,"title":"考试","school":""},{"id":90,"tagId":2,"articleId":9,"type":1,"title":"心语","school":""},{"id":100,"tagId":2,"articleId":10,"type":1,"title":"校园的花坛","school":""},{"id":114,"tagId":2,"articleId":11,"type":1,"title":"理解母亲","school":""},{"id":122,"tagId":2,"articleId":12,"type":1,"title":"发现一个交锋","school":""},{"id":136,"tagId":2,"articleId":13,"type":1,"title":"渴望阳光","school":""},{"id":146,"tagId":2,"articleId":14,"type":1,"title":"思绪","school":""},{"id":162,"tagId":2,"articleId":15,"type":1,"title":"河水的快乐","school":""}]
         */

        private int total;
        private int per_page;
        private int current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 2
             * tagId : 2
             * articleId : 1
             * type : 1
             * title : 生命中的一次感动
             * school :
             */

            private int id;
            private int tagId;
            private int articleId;
            private int type;
            private String title;
            private String school;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getTagId() {
                return tagId;
            }

            public void setTagId(int tagId) {
                this.tagId = tagId;
            }

            public int getArticleId() {
                return articleId;
            }

            public void setArticleId(int articleId) {
                this.articleId = articleId;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSchool() {
                return school;
            }

            public void setSchool(String school) {
                this.school = school;
            }
        }
    }
}

